//
//  PolyObject.h
//  LYGaodeMapKit-SourceCode
//
//  Created by cqck on 2019/10/21.
//

#import <Foundation/Foundation.h>

@interface PointObject : NSObject

@property (nonatomic, assign, readonly) CGFloat latitude;
@property (nonatomic, assign, readonly) CGFloat longitude;

- (void)makePointWithLat:(CGFloat)lat lng:(CGFloat)lng;

@end

NS_ASSUME_NONNULL_BEGIN

@interface PolyObject : NSObject

@property (nonatomic, strong, readonly) NSArray<PointObject *> *points;
@property (nonatomic, copy, readonly) NSString *lineColor;
@property (nonatomic, assign, readonly) CGFloat lineWidth;
@property (nonatomic, assign, readonly) BOOL isDashLine;

- (void)makeLineColor:(NSString *)lineColor;
- (void)makeLineWidth:(CGFloat)lineWidth;
- (void)isDashLine:(BOOL)dashLine;
- (void)makePoints:(NSArray<PointObject *> *)points;

@end

NS_ASSUME_NONNULL_END
